package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.core.socket.ServerDisponseException;

/**
 * 下游用户信息管理
 * 
 * @author cx
 * 
 */
public interface DownstreamUserService {

	/**
	 * 保存
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String save(String body, Head head) throws ServerDisponseException;

	/**
	 * 修改
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String update(String body, Head head) throws ServerDisponseException;

	/**
	 * 详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryUserByUserNO(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 通过主键查详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryUserById(String body, Head head)
			throws ServerDisponseException;

	/**
	 * 分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String queryDownstreamUser(String body, Head head)
			throws ServerDisponseException;
	
	/**
	 * 下游用户密钥查询
	 * @param body
	 * @param head
	 * @return
	 * @throws ServerDisponseException
	 */
	public String querySecretKey(String body, Head head)
			throws ServerDisponseException;
	
}
